home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 18141 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  703 b 

  1. Path: webprod.lehman.com!news
  2. From: nico@lehman.com (Nick Gianniotis)
  3. Newsgroups: comp.lang.c++
  4. Subject: sparcworks CC: how do you supress warnings?
  5. Date: 19 Apr 1996 10:17:20 +0900
  6. Organization: Lehman Brothers Japan
  7. Sender: nico@urchin.tkdev2b.lehman.com
  8. Message-ID: <w2l20llt3kv.fsf@urchin.tkdev2b.lehman.com>
  9. NNTP-Posting-Host: urchin.lehman.com
  10. X-Newsreader: Gnus v5.1
  11.  
  12. Hi all,
  13.  
  14. I don't have a copy of the Sparcworks CC compiler documentation handy, and
  15. I'd like to know how to suppress "defined but not used" warnings, e.g.:
  16.  
  17. "foo.h", line 5: warning:  ::SCCS_ID_Foo_h defined but not used
  18.  
  19. With gcc/g++, this is done via an annotation or pragma. Is there an
  20. equivalent method with CC?
  21.  
  22. TIA,
  23. Nick
  24.